// vue.config.js

/**
 * @type {import('@vue/cli-service').ProjectOptions}
 */
const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir)
}

module.exports = {
  publicPath: '/',
  configureWebpack: {
    name: 'app',
    resolve: {
      alias: {
        '@': resolve('src')
      }
    }
  },
  lintOnSave:false,//关闭eslint检查
  productionSourceMap: true
}